using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using UltimateDefend.Properties;

namespace UltimateDefend
{
    public partial class BuildFrm : Form
    {
        #region fields
        private ITower m_tower;     //chua tower can build
        #endregion fields

        #region properties
        public ITower Tower
        {
            get { return this.m_tower; }
        }
        #endregion properties

        #region methods
        public BuildFrm()
        {
            InitializeComponent();
        }

        private void SpecialTower1_Click(object sender, EventArgs e)
        {            
            //new 1 doi tuong tower tuong ung
            this.m_tower = new ArrowTowerL1();
            
            this.Close();
        }

      

        private void SpecialTower2_Click(object sender, EventArgs e)
        {
            this.m_tower = new ArrowTowerL2();

            this.Close();
        }

        private void NormalTower1_Click(object sender, EventArgs e)
        {
            this.m_tower = new ArrowTowerL3();

            this.Close();
        }
        #endregion methods
    }
}